//
//  UITextField+ZLObjcSugar.m
//  ZLObjcSugar
//
//  Created by zwl on 16/3/24.
//  Copyright © 2016年 zwl. All rights reserved.
//

#import "UITextField+ZLObjcSugar.h"

@implementation UITextField (ZLObjcSugar)

+ (instancetype)zl_textFieldWithPlaceHolder:(NSString *)placeHolder {

    UITextField *textField = [[self alloc] init];
    
    textField.borderStyle = UITextBorderStyleRoundedRect;
    textField.placeholder = placeHolder;
    
    return textField;
}

@end
